<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="jquery-3.1.0.min.js"></script>
    <script src="jquery-ui-1.12.0/jquery-ui.js"></script>
    <link rel="stylesheet" href="jquery-ui-1.12.0/jquery-ui.css"/>
    <script>
        $(function(){
            $("#input").spinner();
            $("#input").spinner("value","10");
            $("#btn").click(function(){
                alert($("#input").spinner("value"));
            })
        })
    </script>
</head>
<body>
    <input id="input"/>
    <button id="btn">get value</button>

    <script>
            $(document).ready(function(){
            
            });
        
    </script>
</body>
</html>

